package com.smc.domain.model;
/**
 * 
 * 类名：Relationship.java
 * 作用：
 * @author 陈恒 Jan 25, 2010 
 * @version 1.0
 * @hibernate.mapping
 * schema="esignature"
 * @hibernate.class
 * table="t_relationship"
 * dynamic-update="false"
 * dynamic-insert="false"
 * select-before-update="false"
 * 关系
 */
public class Relationship {
	/**
	 * @hibernate.id
	 * generator-class="uuid"
	 */
	private String uuid ;
	/**
	 * @hibernate.many-to-one
	 * column="myself_uuid"
	 */
	private User myself ;
	/**
	 * @hibernate.many-to-one
	 * column="other_uuid"
	 */
	private User other ;
	/**
	 * 0: friend;
	 * 1:  back;
	 * default: 0;
	 * @hibernate.property
	 * not-null="true"
	 */
	private int status ;
	
	public String getUuid() {
		return uuid;
	}
	public void setUuid(String uuid) {
		this.uuid = uuid;
	}
	public User getMyself() {
		return myself;
	}
	public void setMyself(User myself) {
		this.myself = myself;
	}
	public User getOther() {
		return other;
	}
	public void setOther(User other) {
		this.other = other;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	
}
